Ext.define('admin.store.adminMenuStore',{
    extend:'Ext.data.TreeStore',
    model:'admin.model.adminMenuModel',
    data:[
        {
            id:1,
            text:'基础资料',
            xtype:'panel',
            icon:'image/icon/basicInfo_16.png',
            leaf:false,
            children:[{
                id:11,
                text:'卡片用户',
                xtype:'basicInfo.cardUserMainView',
                icon:'image/icon/cardUser_16.png',
                leaf:true,
                children:[]
            },{
                id:12,
                text:'设备',
                xtype:'basicInfo.deviceMainView',
                icon:'image/icon/device_16.png',
                leaf:true,
                children:[]
            }]
        },{
            id:2,
            text:'授权中心',
            xtype:'panel',
            icon:'image/icon/accessControl_16.png',
            leaf:false,
            children:[{
                id:21,
                text:'卡片授权',
                xtype:'accessControl.accessControlMainView',
                icon:'image/icon/privilegeSetting_16.png',
                leaf:true,
                children:[]
            },{
                id:22,
                text:'授权记录',
                xtype:'accessControl.privilegeRecordMainView',
                icon:'image/icon/dispatchPrivilege_16.png',
                leaf:true,
                children:[]
            }]
        }
    ],
    proxy:{
        type:'memory',
        reader:{
            type:'json'
        }
    }
});